package com.bckj.fastboot.iot;

import com.bckj.fastboot.security.annotation.EnableFastResourceServer;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.condition.ConditionEvaluationReport;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * FastIotLocalApplication
 *
 * @author wfc
 **/
@EnableScheduling
@EnableFastResourceServer
@MapperScan({
        "com.bckj.fastboot.iot.biz.mapper",
        "com.bckj.fastboot.iot.data.mysql.mapper",
        "com.bckj.fastboot.upms.biz.mapper",
})
@SpringBootApplication(scanBasePackages = {"com.bckj.fastboot"})
public class FastIotLocalApplication {

    public static void main(String[] args) {
        var context = SpringApplication.run(FastIotLocalApplication.class, args);
        ConditionEvaluationReport.get(context.getBeanFactory());
    }
}
